integration using third euler substitution